A Primer in Biological Data Analysis and Visualization Using R by Gregg Hartvigsen
Author:Gregg Hartvigsen
Language: eng
Format: epub, pdf
Tags: SCI008000, Science/Life Sciences/Biology/General, MAT041000, Mathematics/Numerical Analysis
Publisher: Columbia University Press
Published: 2014-02-24T16:00:00+00:00
Sample is not normally distributed
This is the same question as above but your friends, refreshingly, are not “normal.”
> friends = c(1340, 1540, 1310, 1270, 1340, 1300, 1330, 1540,
+ 1540, 1320)
> you = 1300
> shapiro.test(friends)
Shapiro-Wilk normality test
data: friends
W = 0.7477, p-value = 0.003344
From this we see that the sample is not normally distributed (p ≤ 0.05). Therefore, we should use the non-parametric Wilcoxon test. Here we’re asking the simple question as to whether the sample of friends have SAT scores that differ from your score.
> wilcox.test(friends, mu = you) # mu tested against the sample
Wilcoxon signed rank test with continuity correction
data: friends
V = 41.5, p-value = 0.02757
alternative hypothesis: true location is not equal to 1300
We conclude that your SAT score is statistically lower than the sample (V = 41.5, df = 9, p = 0.028).
Download
A Primer in Biological Data Analysis and Visualization Using R by Gregg Hartvigsen.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Biomathematics | Differential Equations |
Game Theory | Graph Theory |
Linear Programming | Probability & Statistics |
Statistics | Stochastic Modeling |
Vector Analysis |
Modelling of Convective Heat and Mass Transfer in Rotating Flows by Igor V. Shevchuk(6186)
Weapons of Math Destruction by Cathy O'Neil(5725)
Factfulness: Ten Reasons We're Wrong About the World – and Why Things Are Better Than You Think by Hans Rosling(4432)
Descartes' Error by Antonio Damasio(3121)
A Mind For Numbers: How to Excel at Math and Science (Even If You Flunked Algebra) by Barbara Oakley(3054)
Factfulness_Ten Reasons We're Wrong About the World_and Why Things Are Better Than You Think by Hans Rosling(3005)
TCP IP by Todd Lammle(2962)
Applied Predictive Modeling by Max Kuhn & Kjell Johnson(2833)
Fooled by Randomness: The Hidden Role of Chance in Life and in the Markets by Nassim Nicholas Taleb(2807)
The Tyranny of Metrics by Jerry Z. Muller(2788)
The Book of Numbers by Peter Bentley(2720)
The Great Unknown by Marcus du Sautoy(2494)
Once Upon an Algorithm by Martin Erwig(2428)
Easy Algebra Step-by-Step by Sandra Luna McCune(2418)
Lady Luck by Kristen Ashley(2364)
Practical Guide To Principal Component Methods in R (Multivariate Analysis Book 2) by Alboukadel Kassambara(2344)
Police Exams Prep 2018-2019 by Kaplan Test Prep(2316)
All Things Reconsidered by Bill Thompson III(2222)
Linear Time-Invariant Systems, Behaviors and Modules by Ulrich Oberst & Martin Scheicher & Ingrid Scheicher(2189)
